const router = require("koa-router")();
const controller = require("../controller/c-login");


// post 注册
router.post('/login', controller.postSignin)
router.get('logout',async(ctx) =>{
    ctx.session = null;
    console.log('登出成功');
    ctx.body = true
})

module.exports = router;
